#ifndef _PROCHANDLER_H_
#define _PROCHANDLER_H_



#define AUTH_TIMEOUTCNT	20
#define AUTH_TIMEOUTTIME	80



#define PWM_OUTSCAN_TIMEVALUE		20
#define PWM_OUTSCAN_WAITTIMEVALUE	50


typedef enum
{
	SCANMODE=0,
	POWERMODE
}
PROCMODE;


typedef struct
{
	PROCMODE Proc_Mode;
	volatile unsigned char Flag;
	volatile unsigned char  Num;
	volatile unsigned char 	cnt;
	volatile unsigned int 	delay;
}
PROCPARA;


void Proc_TimerHandler(void);
void AuthSU_SET(void);
void ProcHandler(void);
#endif
